<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try {
				ace.settings.check('breadcrumbs', 'fixed')
			} catch (e) {
			}
		</script>

		<ul class="breadcrumb">
			<li><i class="icon-home home-icon"></i> <a href="#">控制台</a></li>
			<li class="active">内部管理</li>
			<li class="active">进货</li>
		</ul>
	</div>

	<div class="page-content">
		<!-- /.page-header -->
		<h2>进货信息</h2>
		<div class="row">
			<div class="col-xs-12">
				<form name="myForm" class="form-horizontal" role="form" novalidate>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">商品名</label>

						<div class="col-sm-9">
							<input name="commodityName" ng-model="commodityName" type="text"
								id="form-field-commodityName" required> <span
								style="color: red"
								ng-show="myForm.commodityName.$invalid || fromChecked">&nbsp;#商品名是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">规格型号</label>

						<div class="col-sm-9">
							<input name="specification" ng-model="specification" type="text"
								id="form-field-specification" required /> <span
								style="color: red" ng-show="fromChecked">&nbsp;#规格型号是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">供应商</label>

						<div class="col-sm-9">
							<input name="supplier" ng-model="supplier" type="text"
								id="form-field-supplier" required /> <span style="color: red"
								ng-show="fromChecked">&nbsp;#供应商是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">数量</label>

						<div class="col-sm-9">
							<input name="amount" ng-model="amount" type="number"
								id="form-field-amount" required /> <span style="color: red"
								ng-show="fromChecked">&nbsp;#数量是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">库存</label>

						<div class="col-sm-9">
							<input name="inventory" ng-model="inventory" type="number"
								id="form-field-inventory" required /> <span style="color: red"
								ng-show="fromChecked">&nbsp;#库存是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">单价</label>

						<div class="col-sm-9">
							<input name="unitPrice" ng-model="unitPrice" type="number"
								id="form-field-unitPrice" required /> <span style="color: red"
								ng-show="fromChecked">&nbsp;#单价是必须的。</span>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">总价</label>

						<div class="col-sm-9">
							<input ng-model="totalPrice" type="number" />
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">进货日期</label>

						<div class="col-sm-9">
							<div class="row">
								<div class="col-xs-8 col-sm-3">
									<div class="input-group">
										<input name="arrivalDate" ng-model="arrivalDate"
											class="form-control date-picker" id="id-date-picker-1"
											type="text" data-date-format="yyyy-mm-dd" /> <span
											class="input-group-addon"> <i
											class="icon-calendar bigger-110"></i>
										</span>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right"
							for="form-field-date">备注</label>

						<div class="col-sm-9">
							<input ng-model="remark" type="text" />
						</div>
					</div>

					<div class="clearfix form-actions">
						<div class="col-md-offset-3 col-md-9">
							<!-- <button ng-click="save()" class="btn btn-info" type="button">
								<i class="icon-ok bigger-110"></i> 保存
							</button> -->
							<input type="submit" value="保存" class="btn btn-info"
								ng-click="save(myForm.$valid)" />
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
